﻿using System.Threading.Tasks;
using Abp.Application.Services.Dto;
using pandx.Mulan.Dictionaries.Dto;
using pandx.Mulan.Dto;

namespace pandx.Mulan.Dictionaries
{
    public interface IDictionaryCategoryAppService
    {
        Task<ListResultDto<DictionaryCategoryListDto>> ObtainDictionaryCategories(ObtainDictionaryCategoriesInput input);
        Task CreateOrUpdateDictionaryCategory(CreateOrUpdateDictionaryCategoryInput input);
        Task<GetDictionaryCategoryForEditOutput> GetDictionaryCategoryForEdit(NullableIdDto<long> input);
        Task<DictionaryCategoryListDto> GetDictionaryCategory(EntityDto<long> input);
        Task DeleteDictionaryCategory(EntityDto<long> input);
        // Task<FileDto> ObtainDictionaryCategoriesToExcel(ObtainDictionaryCategoriesInput input);
        Task<ValidateOutput> ValidateCode(ValidateInput<string, int> input);
    }
}
